tetsy-snappy
Rust bindings for the snappy compression library.
Currently this library uses snappy v1.1.7. The source for snappy is included in the tetsy-snappy-sys
crate, so
there's no need to pre-install snappy, and the library will be statically linked.
Example
use tetsy_snappy as snappy;
let input: = ...;
let compressed = compress;
let decompressed = decompress;
assert_eq!;
use tetsy_snappy as snappy;
let input: = ...;
let mut compressed = Vec with_capacity;
let mut decompressed = Vec with_capacity;
let len = compress_into;
let _ = decompress_into;
assert_eq!;